package com.vcens.dingnotice.service.impl;

import com.vcens.dingnotice.entity.MessageEntity;
import com.vcens.dingnotice.repository.MessageMapper;
import com.vcens.dingnotice.service.IMessageService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
@Slf4j
public class MessageServiceImpl implements IMessageService {

    @Autowired
    private MessageMapper messageMapper;

    @Override
    public MessageEntity findByJobId(Integer jobId) {
        return null;
    }

    @Override
    public void insert(MessageEntity messageEntity) {
        messageMapper.insert(messageEntity);
    }
}
